(ns jepsen.mongodb.noop-nemesis
  "No Nemesis for MongoDB's transaction"
  (:require [jepsen.generator :as gen]
            [jepsen [nemesis :as n]]))

(defn wiredtiger-generator
  []
  (cycle [(gen/sleep 1)]))

(defn nemesis-package
  "Construct a nemesis and generators for MongoDB"
  [opts]
  {:generator (wiredtiger-generator)}
  {:nemesis n/noop})